BMI\Plugin\BMI_Ajax D

Total Complexity 965
Dependencies 24
Dependents 1
Total lines 4,028
Lines of code 2,907
Logical lines of code 2,382
Comment lines 327
Methods 63
Properties 8

Methods 63

Method Rating Maintainability Complexity Lines of code
prepareAndMakeBackup()
D
14
75 228
parseFilesForBackup()
D
19
73 168
restoreBackup()
D
16
68 212
saveStorageConfig()
D
21
67 164
saveOtherOptions()
D
20
63 171
scanFilesForBackup()
D
23
59 137
__construct()
D
25
58 122
saveFilesConfig()
D
24
47 151
createBackup()
D
32 43 86
sendTroubleshootingDetails()
D
24
36 158
handleQuickMigration()
D
26
31 138
calculateCron()
C
33 26 91
migrationExceptionHandler()
C
34 25 81
removeBackupFile()
B
37 23 64
forceRestoreToStop()
B
39 22 56
backupErrorHandler()
B
38 21 63
forceBackupToStop()
B
41 19 48
saveStorageTypeConfig()
A
42 14 45
checkStagingLocalName()
A
41 13 52
frontEndAjaxError()
A
45 12 37
downloadFile()
A
43 10 47
resetLatestLogs()
A
44 10 40
checkIfPHPCliExist()
A
46 10 37
isMigrationLocked()
A
50 10 25
rrmdir()
A
55 9 19
tastewpStagingCreation()
A
55 8 17
actionsAfterProcess()
S
57 8 15
debugging()
S
51 7 23
cleanUpAfterError()
S
55 7 20
checkDiskSpace()
S
49 6 29
getLatestBackupFile()
S
52 5 24
dismissErrorNotice()
S
58 5 16
isRunningBackup()
S
56 5 16
sendTestMail()
S
59 5 13
makeBackupName()
S
45 3 39
toggleBackupLock()
S
57 4 15
localStagingCreationProcess()
S
59 4 13
startLocalStagingCreation()
S
59 4 13
logSharing()
S
61 4 12
dirSize()
S
53 3 21
backupBrowserMethodHandler()
S
55 3 18
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
isStagingSiteCreationOngoing()
S
66 3 8
stopBackup()
S
63 3 10
isFunctionEnabled()
S
68 3 6
revertUnameProcess()
S
64 3 9
resetConfiguration()
S
62 2 12
fixUnameFunction()
S
61 2 11
checkCompatibility()
S
66 2 7
migrationErrorHandler()
S
63 2 10
backupExceptionHandler()
S
63 2 10
stagingDelete()
S
69 1 6
revertLitespeed()
S
76 1 4
handleChunkUpload()
S
80 1 3
stagingPrepareLogin()
S
69 1 6
stagingRename()
S
67 1 7
stagingSitesGetList()
S
69 1 6
fixLitespeed()
S
76 1 4
getDatabaseSize()
S
66 1 8
getBackupsList()
S
69 1 6
getSiteData()
S
69 1 6
continueRestoreProcess()
S
91 1 2